/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.eng.scc.core.data;

/**
 *
 * @author Rafael
 */
public enum TruckModel
{
    NONE     (0,"Nenhum"),
    OPEN     (1,"Aberto"),
    CLOSED   (2,"Baú"),
    CONTAINER(3,"Portas Container"),
    SIDER    (4,"Sider"),
    GRAIN    (5,"Graneleira");
    
    private int id;
    private String name;
    
    private TruckModel( int id, String name )
    {
        this.name = name;
        this.id = id;
    }

    public int getId()
    {
        return id;
    }

    public void setId( int id )
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName( String name )
    {
        this.name = name;
    }

    @Override
    public String toString()
    {
        return name; //To change body of generated methods, choose Tools | Templates.
    }
}
